// src/config/ai.ts
export const AI_CONFIG = {
  // DEEPSEEK_API_KEY: 'sk-3a4762992f084596a02c3283640d3fa1',  // 自己的key
  // DEEPSEEK_API_URL: 'https://api.deepseek.com/v1/chat/completions',
  DEEPSEEK_API_KEY: 'sk-213dfcbabc164ccb964ab036aa4f4036',  // 测试的key
  DEEPSEEK_API_URL: 'https://api.deepseek.com/chat/completions',
  ARK_API_KEY: '7a1bceb6-e179-48f1-bae3-443de2f76afe',
  ARK_API_URL: 'https://ark.cn-beijing.volces.com/api/v3/bots/chat/completions',
}

export type MessageRole = 'user' | 'assistant' | 'system'

export interface Message {
  role: MessageRole
  content: string
  timestamp?: number
}

export interface ChatMessage {
  role: MessageRole
  content: string
}